package com.gitee.wsl.coroutines.generator

fun interface Generator<out T, in R> {
    fun next(param: R): T? // returns `null` when generator is over
}